package test1;

public class StringDemo10 {
    public static void main(String[] args) {
        String phoneNumber="16109877282";
        String star=phoneNumber.substring(0,3);
        String end=phoneNumber.substring(7);
        String result="****";
        System.out.println(star+result+end);

    }
}
